
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-technology"></i>
                    <div class="name">知识</div>
                    <div class="fontclass">.icon-technology</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-queue"></i>
                    <div class="name">排队</div>
                    <div class="fontclass">.icon-queue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-history"></i>
                    <div class="name">历史</div>
                    <div class="fontclass">.icon-history</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-safe"></i>
                    <div class="name">安全保护</div>
                    <div class="fontclass">.icon-safe</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-questionnaire"></i>
                    <div class="name">问卷</div>
                    <div class="fontclass">.icon-questionnaire</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.icon-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download"></i>
                    <div class="name">下载</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notification"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.icon-notification</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-form"></i>
                    <div class="name">表单</div>
                    <div class="fontclass">.icon-form</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-line"></i>
                    <div class="name">线图</div>
                    <div class="fontclass">.icon-line</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-switch"></i>
                    <div class="name">开关</div>
                    <div class="fontclass">.icon-switch</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pan"></i>
                    <div class="name">饼图</div>
                    <div class="fontclass">.icon-pan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trend"></i>
                    <div class="name">柱状图</div>
                    <div class="fontclass">.icon-trend</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-idea"></i>
                    <div class="name">想法</div>
                    <div class="fontclass">.icon-idea</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart"></i>
                    <div class="name">心声</div>
                    <div class="fontclass">.icon-heart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phrase"></i>
                    <div class="name">常用语</div>
                    <div class="fontclass">.icon-phrase</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-queue1"></i>
                    <div class="name">排队等待</div>
                    <div class="fontclass">.icon-queue1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-channel"></i>
                    <div class="name">渠道</div>
                    <div class="fontclass">.icon-channel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-group"></i>
                    <div class="name">群组</div>
                    <div class="fontclass">.icon-group</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-file"></i>
                    <div class="name">文件</div>
                    <div class="fontclass">.icon-file</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-approval"></i>
                    <div class="name">审批</div>
                    <div class="fontclass">.icon-approval</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ticket"></i>
                    <div class="name">工单</div>
                    <div class="fontclass">.icon-ticket</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-contacts"></i>
                    <div class="name">联系人</div>
                    <div class="fontclass">.icon-contacts</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-automessage"></i>
                    <div class="name">自动消息</div>
                    <div class="fontclass">.icon-automessage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-headset"></i>
                    <div class="name">耳机</div>
                    <div class="fontclass">.icon-headset</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-messagewarn"></i>
                    <div class="name">消息告警</div>
                    <div class="fontclass">.icon-messagewarn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tag"></i>
                    <div class="name">标记</div>
                    <div class="fontclass">.icon-tag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-department"></i>
                    <div class="name">组织结构</div>
                    <div class="fontclass">.icon-department</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashboard"></i>
                    <div class="name">仪表盘</div>
                    <div class="fontclass">.icon-dashboard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ai"></i>
                    <div class="name">智能AI</div>
                    <div class="fontclass">.icon-ai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-api"></i>
                    <div class="name">API接口</div>
                    <div class="fontclass">.icon-api</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-apps"></i>
                    <div class="name">app应用</div>
                    <div class="fontclass">.icon-apps</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibo"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-weibo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-internet"></i>
                    <div class="name">互联网</div>
                    <div class="fontclass">.icon-internet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-quality"></i>
                    <div class="name">质量检查</div>
                    <div class="fontclass">.icon-quality</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wechat"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-wechat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-label"></i>
                    <div class="name">标签</div>
                    <div class="fontclass">.icon-label</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-application"></i>
                    <div class="name">微服务</div>
                    <div class="fontclass">.icon-application</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-exit"></i>
                    <div class="name">退出</div>
                    <div class="fontclass">.icon-exit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-monitoring"></i>
                    <div class="name">监控</div>
                    <div class="fontclass">.icon-monitoring</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-profilesetting"></i>
                    <div class="name">个人设置</div>
                    <div class="fontclass">.icon-profilesetting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-growingIO"></i>
                    <div class="name">growingIO</div>
                    <div class="fontclass">.icon-growingIO</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sms"></i>
                    <div class="name">短信消息</div>
                    <div class="fontclass">.icon-sms</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-camera"></i>
                    <div class="name">摄像头</div>
                    <div class="fontclass">.icon-camera</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-onceloop"></i>
                    <div class="name">单次循环</div>
                    <div class="fontclass">.icon-onceloop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fresh"></i>
                    <div class="name">刷新</div>
                    <div class="fontclass">.icon-fresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-service"></i>
                    <div class="name">人工服务</div>
                    <div class="fontclass">.icon-service</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mic"></i>
                    <div class="name">麦克风</div>
                    <div class="fontclass">.icon-mic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cut"></i>
                    <div class="name">屏幕截图</div>
                    <div class="fontclass">.icon-cut</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sharescreen"></i>
                    <div class="name">屏幕镜像</div>
                    <div class="fontclass">.icon-sharescreen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-control"></i>
                    <div class="name">远程控制</div>
                    <div class="fontclass">.icon-control</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-adaption"></i>
                    <div class="name">屏幕适应</div>
                    <div class="fontclass">.icon-adaption</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-test"></i>
                    <div class="name">测试</div>
                    <div class="fontclass">.icon-test</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-random"></i>
                    <div class="name">随机抽样</div>
                    <div class="fontclass">.icon-random</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-forecast"></i>
                    <div class="name">消息预测</div>
                    <div class="fontclass">.icon-forecast</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-addatrend"></i>
                    <div class="name">添加统计</div>
                    <div class="fontclass">.icon-addatrend</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rest"></i>
                    <div class="name">REST API</div>
                    <div class="fontclass">.icon-rest</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-keywords"></i>
                    <div class="name">关键词匹配</div>
                    <div class="fontclass">.icon-keywords</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-live"></i>
                    <div class="name">视频直播</div>
                    <div class="fontclass">.icon-live</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radar"></i>
                    <div class="name">雷达</div>
                    <div class="fontclass">.icon-radar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-geren"></i>
                    <div class="name">个人</div>
                    <div class="fontclass">.icon-geren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shijian"></i>
                    <div class="name">时间</div>
                    <div class="fontclass">.icon-shijian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shipin"></i>
                    <div class="name">视频</div>
                    <div class="fontclass">.icon-shipin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tupian"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-tupian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhaiyao"></i>
                    <div class="name">摘要</div>
                    <div class="fontclass">.icon-zhaiyao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-paixu"></i>
                    <div class="name">排序</div>
                    <div class="fontclass">.icon-paixu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wancheng"></i>
                    <div class="name">完成2</div>
                    <div class="fontclass">.icon-wancheng</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
